<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script type="text/javascript">
function initialize() {ldelim}
 if (GBrowserIsCompatible()) {ldelim}
    var map = new GMap2(document.getElementById("mapa-najblizszych-lokalizacji"));
    map.setCenter(new GLatLng({$produkt.tapLat}, {$produkt.tapLng}), 12);
    map.setUIToDefault();

	  // Add 10 markers to the map at random locations
	  var bounds = map.getBounds();
	  var southWest = bounds.getSouthWest();
	  var northEast = bounds.getNorthEast();
	  var lngSpan = northEast.lng() - southWest.lng();
	  var latSpan = northEast.lat() - southWest.lat();

	    var point = new GLatLng({$produkt.tapLat}, {$produkt.tapLng});
	    map.addOverlay(new GMarker(point));
    {rdelim}

{rdelim}
{literal}
$(document).ready(function(){
	initialize();
});
</script>
{/literal}

</head>
<body>

			<div id="mapa-najblizszych-lokalizacji" style="width: 600px; height: 400px"></div>
			
</body>
</html>